package br.com.midiaseducativas.tutor.jogos.associativegame.events
{
	import br.com.midiaseducativas.tutor.jogos.associativegame.Card;
	
	import flash.events.Event;
	
	public class CardEvent extends Event {
		
		public static const CLICK:String = "CardEvent.CLICK";
		
		private var _card:Card;
		
		public function CardEvent(type:String, pCard:Card, bubbles:Boolean=false, cancelable:Boolean=false) {
			this.card = pCard;
			super(type, bubbles, cancelable);
		}

		public function get card():Card
		{
			return _card;
		}

		public function set card(value:Card):void
		{
			_card = value;
		}

	}
}